package com.ecar.api.service.common;

import java.util.List;

import net.sf.json.JSONObject;

import com.ecar.common.dto.DataBean;
import com.ecar.core.driver.entity.ExceptionHandle;

public interface ExceptionHandleService {
    int deleteByPrimaryKey(String id);

    DataBean insert(JSONObject fields);

    int insertSelective(ExceptionHandle record);

    ExceptionHandle selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ExceptionHandle record);

    int updateByPrimaryKey(ExceptionHandle record);
    
    /**
     * 27
     * @return
     */
    List<ExceptionHandle> selectAll();
}